package com.dycx.food.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dycx.common.entity.CommonDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


@EqualsAndHashCode(callSuper = true)
@Data
@TableName("food_spec")
public class SpecDO extends CommonDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * id
    */
    @TableId(type = IdType.AUTO)
    private Integer specId;

    /**
     * 分类id
     */
    private Integer goodsTypeId;

    private Integer brandId;

    /**
     * 规格名称
     */
    private String specName;

    private Integer specType;

    /**
     * 是否为检索条件
     */
    private Boolean filterCondition;

    private Integer sort;


}
